﻿var user1 = {
    _id: new ObjectId(),
    user: 'student',
    pwd: 'pwd',
    type: 1
};
db.user.insert(user1);

var user2 = {
    _id: new ObjectId(),
    user: 'supervisor',
    pwd: 'pwd',
    type: 2
};
db.user.insert(user2);

var user3 = {
    _id: new ObjectId(),
    user: 'second-marker',
    pwd: 'pwd',
    type: 3
};
db.user.insert(user3);

var user4 = {
    _id: new ObjectId(),
    user: 'staff',
    pwd: 'pwd',
    type: 4
};
db.user.insert(user4);

var project1 = {
    _id: new ObjectId(),
    title: 'Enterprise Web Software Development',
    subTitle: 'Section 1',
    student: [user1._id],
    superVisor: [user2._id],
    secondMarker: [user3._id]
};
db.project.insert(project1);